//
//@File    :	3.10_arith.cpp
//@Time    :	2021/08/02 20:17:55
//@Auther  :	Sun Sheng
//@Contact :	970340843@qq.com
//@Desc    :	some C++ arithetic
//

#include <iostream>

int main()
{
    using namespace std;
    float hats,heads;

    cout.setf(ios_base::fixed,ios_base::floatfield);
    cout<<"Enter a number: ";
    cin>>hats;
    cout<<"Enter another number: ";
    cin>>heads;

    cout<<"hats = "<<hats<<";heads = "<<heads<<endl;
    cout<<"hats + heads = "<<hats + heads<<endl;
    cout<<"hats - heads = "<<hats - heads<<endl;
    cout<<"hats * heads = "<<hats * heads<<endl;
    cout<<"hats / heads = "<<hats / heads<<endl;

    system("pause");
    return 0;
}